package com.jsite.modules.config;

import org.flowable.idm.api.IdmIdentityService;
import org.flowable.idm.engine.IdmEngine;
import org.flowable.idm.engine.IdmEngines;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FlowableFormConfig {

    @Bean
    public IdmIdentityService idmIdentityService() {
        IdmEngine idmEngine = IdmEngines.getDefaultIdmEngine();
        return idmEngine.getIdmIdentityService();
    }

}
